package com.chagee.store.operation.server.facade;

import com.chagee.store.operation.server.model.param.EvaluateParam;
import com.chagee.store.operation.server.model.vo.EvaluateDictResponse;
import com.chagee.store.operation.server.service.StoreAppEvaluateService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author : hk
 * @Date : 2024/4/28
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class StoreAppEvaluateFacade {

	@Resource
	private StoreAppEvaluateService storeAppEvaluateService;

	public List<EvaluateDictResponse> evaluateDict() {
		List<EvaluateDictResponse> result = storeAppEvaluateService.evaluateDict();
		return result;
	}

	public Boolean submitEvaluate(EvaluateParam param) {
		Boolean result = storeAppEvaluateService.submitEvaluate(param);
		return result;
	}
}
